x86/pvh: trap access to sensitive IO ports
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 20 May 2015 11:27:23 +0000 (13:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 May 2015 11:27:23 +0000 (13:27 +0200)
commit72d5acdc1d5b83107066e25054f9119e7771cf70
treea13439f392ef3ee0d278f2ea13c3c06b89c93d00
parent8ddb99287cd18da99a95a9f70904a97b52893599
x86/pvh: trap access to sensitive IO ports

This is needed so Xen can properly trap 4 byte accesses to 0xcf8 in order to
keep consistency with accesses to 0xcfc.

The access to RTC ports also needs to be trapped in order to keep
consistency, this includes RTC_PORT(0) and RTC_PORT(1) (0x70 and 0x71
respectively).

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/setup.c